﻿using Common;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace CentralMonitoring
{
    public static  class GloabalEvent
    {
        public static event Action<sensordatas> SensorOnPublic;
        public static void SensorPublic(sensordatas vo)
        {
            SensorOnPublic?.Invoke(vo);
            //if(vo.vis.HasValue)
            //{
            //    lLogWrite.WriteLog("@转发" + vo.device_code.ToString());
            //}
        }
    }
}
